package com.hqyj.system.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

/**
 * @author cz
 * 2021/9/7 15:06
 */
@Controller
public class MainController {
    @RequestMapping("/main.do")
    public String main(HttpServletRequest request, HttpServletResponse response, HttpSession session, Model model) {
        //2.跳转页面;
        return "view/frame/main";
    }
}
